package com.antexpress.service;

import com.antexpress.common.Response;
import com.antexpress.pojo.Department;
import com.antexpress.pojo.Title;
import java.util.List;

/**
 *
 * @author Andy
 */
public interface DepartmentService {
    
    Response addOrUpdateDepartment(Department dept);
    Response addOrUpdateTitle(Title title);
    Response getDeptDetailsByIds(List<String> list);
    Response getAllDept();
    Response getAllAuthority();
    Response getAllTitle();
    Response getAllDeptAndTitle();
    Title getTitleById(String id);
    Response getTitlesByDeptId(String deptId);
    Response deleteTitleById(String titleId);
    Response deleteDeptById(String deptId);
    Response batchDeleteTitles(String[] titles);
}
